//
// Created by zeng on 2021/10/16.
//

#ifndef SENDEMAIL_WEATHER_H
#define SENDEMAIL_WEATHER_H

#include "../Lib/nlohmann/json.hpp"
#include "string"

class Weather {
private:
    std::string value;
public:
    std::string date;
    std::string textDay;
    std::string textNight;
    std::string tempMax;
    std::string tempMin;
    int res_code;

    Weather(nlohmann::json basicJson, int res_code);

    Weather(int res_code);

    std::string GetValue();
};


#endif //SENDEMAIL_WEATHER_H
